package com.myspring.entity;


import java.util.List;

//分页数据对象
public class Page<T> {
    public List<T> datas; //查询结果集合
    public Integer pages; //当前分页下的总页数
    public Integer pageNum;//当前显示的页码
    public Integer pre;//上一页
    public Integer next;//下一页



    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getPre() {
        return pre;
    }

    public void setPre(Integer pre) {
        this.pre = pre;
    }

    public Integer getNext() {
        return next;
    }

    public void setNext(Integer next) {
        this.next = next;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }
}
